Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 218.9 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 64.03 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 170 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005783/0.328, allocations: 3.234 MB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.3317, allocations: 1.983 MB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.3319, allocations: 7.938 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.3329, allocations: 281 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006617/0.3336, allocations: 246.9 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.3344, allocations: 287.3 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006205/0.335, allocations: 406.7 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.3354, allocations: 164.3 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.3358, allocations: 179.4 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004615/0.3363, allocations: 215.2 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.3363, allocations: 24 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.3368, allocations: 243.5 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.337, allocations: 119.7 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3372, allocations: 127.5 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008056/0.338, allocations: 0.4918 MB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.338, allocations: 0 / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.338, allocations: 0 / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.338, allocations: 0 / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001274/0.3393, allocations: 0.5284 MB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3393, allocations: 8.031 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.3393, allocations: 8.688 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.3394, allocations: 70.64 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3405, allocations: 112.6 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.3409, allocations: 230.7 kB / 1.293 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3409, allocations: 20.8 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3411, allocations: 36.3 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008696/0.3419, allocations: 0.522 MB / 1.293 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3419, allocations: 3.938 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.342, allocations: 12 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.3421, allocations: 44.45 kB / 1.293 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.3428, allocations: 365.7 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.3454, allocations: 1.648 MB / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.3458, allocations: 242.4 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.346, allocations: 148 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3461, allocations: 7.984 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3461, allocations: 34.94 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.993e-06/0.3461, allocations: 0 / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.00187/0.348, allocations: 0.9144 MB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.348, allocations: 51.41 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.3484, allocations: 256.9 kB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3484, allocations: 29.7 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3485, allocations: 188.4 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.3486, allocations: 87.27 kB / 1.297 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3488, allocations: 85.58 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3489, allocations: 330.8 kB / 1.298 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3492, allocations: 163.9 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.3496, allocations: 237.6 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.3502, allocations: 410.8 kB / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3502, allocations: 0 / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001281/0.3515, allocations: 0.594 MB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3515, allocations: 4 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3515, allocations: 4 kB / 1.299 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007306/0.3523, allocations: 200.7 kB / 1.299 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3526, allocations: 63.89 kB / 1.299 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.3558, allocations: 2.365 MB / 1.302 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.3562, allocations: 19.98 kB / 1.302 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3562, allocations: 20.05 kB / 1.302 GB, free: 8.289 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.3564, allocations: 169.6 kB / 1.302 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.3565, allocations: 23.86 kB / 1.302 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006057/0.3571, allocations: 357.6 kB / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3571, allocations: 0 / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3571, allocations: 0 / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3571, allocations: 0 / 1.302 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3583, allocations: 0.7589 MB / 1.303 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3583, allocations: 8.062 kB / 1.303 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.3587, allocations: 75.88 kB / 1.303 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3587, allocations: 0 / 1.303 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3587, allocations: 8 kB / 1.303 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3587, allocations: 0 / 1.303 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3587, allocations: 4 kB / 1.303 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.3595, allocations: 0.6143 MB / 1.304 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3597, allocations: 51.88 kB / 1.304 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.3597, allocations: 8 kB / 1.304 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.36, allocations: 15.92 kB / 1.304 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.36, allocations: 23.91 kB / 1.304 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.3601, allocations: 8 kB / 1.304 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002468/0.3603, allocations: 184.5 kB / 1.304 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3603, allocations: 4 kB / 1.304 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004435/0.3607, allocations: 88 kB / 1.304 GB, free: 5.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.362, allocations: 1.16 MB / 1.305 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.363, allocations: 0.5155 MB / 1.306 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.363, allocations: 0 / 1.306 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.3632, allocations: 135.9 kB / 1.306 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.3637, allocations: 62.42 kB / 1.306 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.3696, allocations: 3.707 MB / 1.309 GB, free: 48 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3698, allocations: 182.1 kB / 1.31 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000248/0.3701, allocations: 74.92 kB / 1.31 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.3702, allocations: 87.41 kB / 1.31 GB, free: 15.69 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/0.3702, allocations: 0 / 1.31 GB, free: 15.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.4046, allocations: 7.419 MB / 1.317 GB, free: 8.484 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.38, allocations: 6.172 kB / 1.317 GB, free: 8.48 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.221528882044367]