Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00473/0.00473, allocations: 100.5 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 196.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.227/2.227, allocations: 437.1 MB / 0.7105 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 75.88 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6052, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004535/0.6098, allocations: 3.256 MB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.6129, allocations: 2.027 MB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.613, allocations: 11.88 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008479/0.6139, allocations: 292.5 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005094/0.6144, allocations: 242.9 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.6151, allocations: 287.3 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.6155, allocations: 402.8 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.6159, allocations: 196.2 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.6161, allocations: 167.4 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.6164, allocations: 195.3 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.6165, allocations: 24 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.6169, allocations: 271.5 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.617, allocations: 115.7 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.6172, allocations: 147.2 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.6178, allocations: 0.494 MB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6178, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6178, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.6178, allocations: 4 kB / 1.174 GB, free: 11.61 MB / 0.9044 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.0009303/0.6187, allocations: 0.5998 MB / 1.175 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.6187, allocations: 12.92 kB / 1.175 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.6188, allocations: 58.72 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.6197, allocations: 120.6 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.62, allocations: 280.5 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.62, allocations: 28.89 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.6201, allocations: 36.45 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.6208, allocations: 453.1 kB / 1.176 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.6208, allocations: 7.938 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.6209, allocations: 8 kB / 1.176 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.621, allocations: 40.53 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.6216, allocations: 369.9 kB / 1.176 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.6239, allocations: 2.207 MB / 1.178 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.6243, allocations: 267 kB / 1.178 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.6246, allocations: 160.8 kB / 1.179 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.6246, allocations: 0 / 1.179 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.6246, allocations: 38.56 kB / 1.179 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 8.82e-07/0.6246, allocations: 0 / 1.179 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.001642/0.6263, allocations: 1.063 MB / 1.18 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.6263, allocations: 63.22 kB / 1.18 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.6266, allocations: 257 kB / 1.18 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.6266, allocations: 37.7 kB / 1.18 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.6268, allocations: 192.3 kB / 1.18 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.6268, allocations: 91.22 kB / 1.18 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.627, allocations: 77.64 kB / 1.18 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6271, allocations: 330.8 kB / 1.181 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.6274, allocations: 155.9 kB / 1.181 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.6277, allocations: 245.6 kB / 1.181 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/0.6283, allocations: 415.4 kB / 1.181 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6283, allocations: 11.88 kB / 1.181 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001121/0.6294, allocations: 0.5966 MB / 1.182 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6294, allocations: 8 kB / 1.182 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6294, allocations: 4 kB / 1.182 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.63, allocations: 180.8 kB / 1.182 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.6303, allocations: 71.89 kB / 1.182 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.6331, allocations: 2.497 MB / 1.185 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.6334, allocations: 24 kB / 1.185 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.6335, allocations: 16.05 kB / 1.185 GB, free: 15.99 MB / 0.92 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.0001503/0.6336, allocations: 165.6 kB / 1.185 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.6337, allocations: 19.86 kB / 1.185 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.6342, allocations: 363.5 kB / 1.185 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6342, allocations: 4 kB / 1.185 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.6342, allocations: 0 / 1.185 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6342, allocations: 0 / 1.185 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.6352, allocations: 0.809 MB / 1.186 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6352, allocations: 7.984 kB / 1.186 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.6356, allocations: 71.89 kB / 1.186 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6356, allocations: 64 / 1.186 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.6356, allocations: 15.98 kB / 1.186 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.6357, allocations: 4 kB / 1.186 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6357, allocations: 0 / 1.186 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.6364, allocations: 0.6138 MB / 1.187 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.6365, allocations: 132.9 kB / 1.187 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.6366, allocations: 8 kB / 1.187 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.6368, allocations: 19.98 kB / 1.187 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.6368, allocations: 11.92 kB / 1.187 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.6369, allocations: 15.98 kB / 1.187 GB, free: 13.64 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002109/0.6371, allocations: 184.5 kB / 1.187 GB, free: 13.45 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6371, allocations: 0 / 1.187 GB, free: 13.45 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003549/0.6374, allocations: 87.98 kB / 1.187 GB, free: 13.37 MB / 0.92 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.001023/0.6385, allocations: 1.159 MB / 1.188 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.6393, allocations: 0.5453 MB / 1.189 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6393, allocations: 4 kB / 1.189 GB, free: 11.61 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.6395, allocations: 149.5 kB / 1.189 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.6399, allocations: 62.66 kB / 1.189 GB, free: 11.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.6447, allocations: 3.702 MB / 1.193 GB, free: 7.551 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.6451, allocations: 0.7912 MB / 1.193 GB, free: 6.73 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.6453, allocations: 74.92 kB / 1.194 GB, free: 6.652 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.6454, allocations: 83.41 kB / 1.194 GB, free: 6.57 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.6455, allocations: 0 / 1.194 GB, free: 6.57 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.99/12.63, allocations: 6.935 MB / 1.2 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/24.97, allocations: 16.17 kB / 1.2 GB, free: 15.79 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches