Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.001242/0.001242, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001312/0.001312, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.423/1.423, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.636/2.636, 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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.91 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.93/0.9319, allocations: 160.7 MB / 1.213 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005156/0.9371, allocations: 3.255 MB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.9395, allocations: 1.398 MB / 1.217 GB, free: 232 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.9397, allocations: 13.16 kB / 1.217 GB, free: 224 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.9408, allocations: 342 kB / 1.218 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.9411, allocations: 153 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.9415, allocations: 157.7 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.9419, allocations: 326.2 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.9423, allocations: 207.4 kB / 1.219 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.9425, allocations: 136.1 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.9428, allocations: 154.6 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.9429, allocations: 19.66 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.9432, allocations: 177.2 kB / 1.219 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.9433, allocations: 87.34 kB / 1.219 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.9435, allocations: 125.9 kB / 1.219 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.944, allocations: 359.2 kB / 1.22 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.944, allocations: 0 / 1.22 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.944, allocations: 4.844 kB / 1.22 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.944, allocations: 0 / 1.22 GB, free: 14.79 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009614/0.945, allocations: 0.5427 MB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.945, allocations: 11.27 kB / 1.22 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.994e-05/0.9451, allocations: 58.64 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.9457, allocations: 85.14 kB / 1.22 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.9461, allocations: 253.2 kB / 1.221 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.9461, allocations: 13.47 kB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.9461, allocations: 20.59 kB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.9466, allocations: 318.4 kB / 1.221 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.9467, allocations: 1.156 kB / 1.221 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.9467, allocations: 10.55 kB / 1.221 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.9467, allocations: 17.47 kB / 1.221 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.9471, allocations: 214.4 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.9488, allocations: 1.495 MB / 1.223 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.9493, allocations: 194.8 kB / 1.223 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.9493, allocations: 40.41 kB / 1.223 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.9494, allocations: 5.188 kB / 1.223 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.9494, allocations: 35.56 kB / 1.223 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.9494, allocations: 0 / 1.223 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005819/0.95, allocations: 263.9 kB / 1.223 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.95, allocations: 52.75 kB / 1.223 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.9502, allocations: 212.5 kB / 1.223 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.9502, allocations: 27.23 kB / 1.223 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.9504, allocations: 185.2 kB / 1.224 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.9504, allocations: 27.06 kB / 1.224 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.9505, allocations: 39.28 kB / 1.224 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9506, allocations: 327 kB / 1.224 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.9507, allocations: 43.53 kB / 1.224 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.9509, allocations: 114.6 kB / 1.224 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.9511, allocations: 160.5 kB / 1.224 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9511, allocations: 1.062 kB / 1.224 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003827/0.9515, allocations: 220.1 kB / 1.224 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.9515, allocations: 5.188 kB / 1.224 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.9515, allocations: 7.281 kB / 1.224 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.9517, allocations: 30.91 kB / 1.224 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.9518, allocations: 39.62 kB / 1.224 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.953, allocations: 1.426 MB / 1.226 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.9532, allocations: 22.2 kB / 1.226 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.9532, allocations: 10.66 kB / 1.226 GB, free: 8.953 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.9533, allocations: 158.1 kB / 1.226 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.9534, allocations: 16.97 kB / 1.226 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.9534, allocations: 20.97 kB / 1.226 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9534, allocations: 5.562 kB / 1.226 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.9534, allocations: 0 / 1.226 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.9534, allocations: 1.031 kB / 1.226 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.9541, allocations: 493.5 kB / 1.227 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9541, allocations: 0 / 1.227 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.9541, allocations: 8.688 kB / 1.227 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.182e-05/0.9542, allocations: 27.53 kB / 1.227 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.9542, allocations: 5.641 kB / 1.227 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.9553, allocations: 1.419 MB / 1.228 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9553, allocations: 0 / 1.228 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.9557, allocations: 241.7 kB / 1.228 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.9558, allocations: 95.97 kB / 1.228 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.9558, allocations: 5.156 kB / 1.228 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.9559, allocations: 11.58 kB / 1.228 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.9559, allocations: 3.969 kB / 1.228 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.9559, allocations: 5.328 kB / 1.228 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001452/0.9561, allocations: 148.4 kB / 1.228 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9561, allocations: 0.8438 kB / 1.228 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003404/0.9564, allocations: 55.8 kB / 1.229 GB, free: 6.414 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 {(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.0006592/0.9571, allocations: 0.782 MB / 1.229 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.9575, allocations: 223.8 kB / 1.23 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9575, allocations: 5.781 kB / 1.23 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.9577, allocations: 158.2 kB / 1.23 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.9581, allocations: 41.84 kB / 1.23 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.9608, allocations: 2.154 MB / 1.232 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.9612, allocations: 0.7509 MB / 1.233 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00011/0.9613, allocations: 31.34 kB / 1.233 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.79e-05/0.9614, allocations: 59.73 kB / 1.233 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of SimCode: time 5.52e-07/0.9614, allocations: 0 / 1.233 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.9926, allocations: 4.03 MB / 1.237 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.11, allocations: 15.56 kB / 1.237 GB, free: 15.02 MB / 0.9512 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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: 16.980006586760283]