Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 105.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 196.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.83 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8163, allocations: 160.7 MB / 1.213 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007494/0.8238, allocations: 4.913 MB / 1.218 GB, free: 140 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00496/0.8288, allocations: 2.491 MB / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008362/0.8296, allocations: 23.81 kB / 1.22 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.8311, allocations: 403.1 kB / 1.221 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.8327, allocations: 471.2 kB / 1.221 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.8339, allocations: 365.8 kB / 1.221 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.8355, allocations: 0.921 MB / 1.222 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006722/0.8362, allocations: 287.1 kB / 1.223 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008223/0.837, allocations: 336.7 kB / 1.223 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008101/0.8378, allocations: 377.7 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.8379, allocations: 38.38 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.8391, allocations: 406.4 kB / 1.224 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.8394, allocations: 192 kB / 1.224 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.8401, allocations: 315 kB / 1.224 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.8425, allocations: 0.8926 MB / 1.225 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.8425, allocations: 5.562 kB / 1.225 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.885e-06/0.8425, allocations: 0 / 1.225 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.232e-05/0.8426, allocations: 0 / 1.225 GB, free: 10.92 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002752/0.8453, allocations: 0.9563 MB / 1.226 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.8454, allocations: 10.33 kB / 1.226 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.8456, allocations: 92.44 kB / 1.226 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.8472, allocations: 212.6 kB / 1.226 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.8483, allocations: 0.5384 MB / 1.227 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.8483, allocations: 35.02 kB / 1.227 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.8484, allocations: 45.23 kB / 1.227 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.8496, allocations: 0.845 MB / 1.228 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.8497, allocations: 10.86 kB / 1.228 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.8497, allocations: 20 kB / 1.228 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.793e-05/0.8498, allocations: 66.14 kB / 1.228 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.8507, allocations: 0.5679 MB / 1.228 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.8559, allocations: 5.651 MB / 1.234 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.8567, allocations: 426.7 kB / 1.234 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.857, allocations: 196.7 kB / 1.234 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.8571, allocations: 16.45 kB / 1.234 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.8571, allocations: 34.5 kB / 1.234 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.8571, allocations: 0 / 1.234 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002796/0.8599, allocations: 1.511 MB / 1.236 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.86, allocations: 55.69 kB / 1.236 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.8605, allocations: 0.495 MB / 1.236 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.8606, allocations: 33.7 kB / 1.236 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.8608, allocations: 359.8 kB / 1.237 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.8609, allocations: 123 kB / 1.237 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.8611, allocations: 110.2 kB / 1.237 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.8613, allocations: 366.8 kB / 1.237 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.8616, allocations: 193.2 kB / 1.238 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.8621, allocations: 447.3 kB / 1.238 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/0.863, allocations: 0.696 MB / 1.239 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.863, allocations: 4 kB / 1.239 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001476/0.8645, allocations: 0.8056 MB / 1.239 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.8645, allocations: 8 kB / 1.24 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.8645, allocations: 8 kB / 1.24 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.8651, allocations: 160.5 kB / 1.24 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.8655, allocations: 123.7 kB / 1.24 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.8694, allocations: 4.341 MB / 1.244 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.8699, allocations: 35.97 kB / 1.244 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.8699, allocations: 24 kB / 1.244 GB, free: 6.816 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.8702, allocations: 230.4 kB / 1.244 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.8704, allocations: 67.56 kB / 1.244 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.8714, allocations: 0.5932 MB / 1.245 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8714, allocations: 4 kB / 1.245 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8714, allocations: 4 kB / 1.245 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8714, allocations: 3.984 kB / 1.245 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.8734, allocations: 1.255 MB / 1.246 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.8734, allocations: 4 kB / 1.246 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.8737, allocations: 55.83 kB / 1.246 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.8741, allocations: 152.3 kB / 1.246 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.8741, allocations: 11.94 kB / 1.246 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/0.8777, allocations: 4.325 MB / 1.251 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8777, allocations: 4.031 kB / 1.251 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.8788, allocations: 0.7082 MB / 1.251 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.8791, allocations: 168.7 kB / 1.251 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.8792, allocations: 12 kB / 1.251 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.8794, allocations: 27.97 kB / 1.252 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.8795, allocations: 35.83 kB / 1.252 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.8796, allocations: 12 kB / 1.252 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003792/0.8799, allocations: 330.8 kB / 1.252 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8799, allocations: 0 / 1.252 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006695/0.8806, allocations: 144 kB / 1.252 GB, free: 14.06 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.882, allocations: 1.253 MB / 1.253 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.8835, allocations: 1.025 MB / 1.254 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8835, allocations: 0 / 1.254 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008828/0.8844, allocations: 0.7151 MB / 1.255 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.8854, allocations: 220 kB / 1.255 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.8922, allocations: 5.099 MB / 1.26 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.8928, allocations: 0.9097 MB / 1.261 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.8931, allocations: 109.3 kB / 1.261 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.8934, allocations: 195.4 kB / 1.261 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of SimCode: time 1.273e-06/0.8934, allocations: 0 / 1.261 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.943, allocations: 12.8 MB / 1.274 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.27, allocations: 2.812 kB / 1.274 GB, free: 7.344 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 17.956085519865155]